package com.mtiiot.fscore.utils;

/**
 * 系统名称枚举类
 * Created by lcy on 16-5-30.
 */
public enum SysName {
        /**netty*/
        SYSNAME_NETTY {public String getName(){return "NETTY";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-netty";}},
        /**mq*/
        SYSNAME_KAFKA {public String getName(){return "KAFKA";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-mq";}},
        /**解析*/
        SYSNAME_INSANALYZE {public String getName(){return "ANALYZE";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-analyze";}},
        /**体检系统*/
        SYSNAME_TJ {public String getName(){return "TJ";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-tj";}},
        /**仪器平台 */
        SYSNAME_INS {public String getName(){return "INS";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-ins";}},
        /**服务平台 */
        SYSNAME_FS {public String getName(){return "FS";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-fs";}},
        /**盒子 */
        SYSNAME_BOX {public String getName(){return "BOX";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-box";}},
        /**外部仪器 */
        SYSNAME_OUTINS {public String getName(){return "OUTINS";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-outins";}},
        /**其他 */
        SYSNAME_OTHER {public String getName(){return "OTHER";}public String getLogRedisKey(){return "logstash_rediskey_fs";}public String getLogESIndex(){return "log-other";}};
        public abstract String getName();
        public abstract String getLogRedisKey();
        public abstract String getLogESIndex();
}
